<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class NovelChapter extends Model
{
    protected $table = 'novels_chapter';

    public function novel ()
    {
        return $this->belongsTo('App\Model\Novel')->select('name','brief','author','created_at');
    }
}
